<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="support.*, java.util.*, java.sql.*, javax.sql.*"%>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Application review</title>
</head>
<body>


	The status of this application is:
	<bean:write name="showappInfoform" property="status" />

	<!-- Display data collected from previous pages. -->
	<p>
		First Name:
		<bean:write name="showappInfoform" property="first" />
	<p>
		Middle Name:
		<bean:write name="showappInfoform" property="middle" />
	<p>
		Last Name:
		<bean:write name="showappInfoform" property="last" />
	<p>
		Country of Citizenship:
		<bean:write name="showappInfoform" property="citizen" />
	<p>
		Country of Residence:
		<bean:write name="showappInfoform" property="residence" />

		<logic:present name="showappInfoform" property="street">
			<p>
				Street:
				<bean:write name="showappInfoform" property="street" />
		</logic:present>

		<logic:present name="showappInfoform" property="city">
			<p>
				City:
				<bean:write name="showappInfoform" property="city" />
		</logic:present>

		<logic:present name="showappInfoform" property="lstate">
			<logic:notEqual name="showappInfoform" property="lstate" value="">
				<p>
					State:
					<bean:write name="showappInfoform" property="lstate" />
			</logic:notEqual>
		</logic:present>

		<logic:present name="showappInfoform" property="zip">
			<logic:notEqual name="showappInfoform" property="zip" value="">
				<p>
					Zip Code:
					<bean:write name="showappInfoform" property="zip" />
			</logic:notEqual>
		</logic:present>
	<p>
		Phone Number: (
		<bean:write name="showappInfoform" property="areaCode" />
		) (
		<bean:write name="showappInfoform" property="pnumber" />
		)
	<p>

		<logic:iterate id="degreeId" name="showappInfoform" property="degrees">
			<p>
				Location:
				<bean:write name="degreeId" property="stuState" />
			</p>
			<p>
				School:
				<bean:write name="degreeId" property="school" />
			</p>
			<p>
				Discipline of degree:
				<bean:write name="degreeId" property="discp" />
				<bean:write name="degreeId" property="title" />
			</p>
			<p>
				Degree earned in:
				<bean:write name="degreeId" property="dmonth" />
				<bean:write name="degreeId" property="dyear" />
			</p>
			<p>
				GPA:
				<bean:write name="degreeId" property="gpa" />
			</p>
		</logic:iterate>
		Specialization:
		<bean:write name="showappInfoform" property="specialization" />
	<p>
		<!-- End of displaying collected information. -->
	<p>
		<logic:iterate id="reviewId" name="showappInfoform"
			property="rvcomments">
			------------------------------------------------
			<p>
				Grade:
				<bean:write name="reviewId" property="grade" />
			</p>
			<p>
				Comment:
				<bean:write name="reviewId" property="comments" />
			</p>
		</logic:iterate>

		------------------------------------------------

		<html:form action="/gradeApp" enctype="multipart/form-data">
			<p>
				Select a grade:
				<html:select name="showappInfoform" property="grade">
					<html:option value='0'>0</html:option>
					<html:option value='1'>1</html:option>
					<html:option value='2'>2</html:option>
					<html:option value='3'>3</html:option>
					<html:option value='4'>4</html:option>
				</html:select>
			<p>
				Enter comment:
			<p>
			<html:textarea name="showappInfoform" property="comments" rows="6"
					cols="30" />
			<p>
				<html:submit value="Submit" />
		</html:form>
</body>
</html>